#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
using namespace std;

int main()
{
	int N = 0;
	scanf("%d", &N);

	int pre_price = 0;
	scanf("%d", &pre_price);

	float now_price = 0;
	while (N--)
	{
		scanf("%f", &now_price);
		if (now_price < pre_price)
		{
			printf("On sale! %.1f\n", now_price);
		}
	}


	return 0;
}
